package com.qzd.Factory.simplefactorypattern;

public class Test {
    /**
     * 简单工厂模式
     */
    public static void main(String[] args) {
        try {
            ICouse javaCouse=new CouseFactory().create(JavaCouse.class);
            javaCouse.record();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
